import request from "@/utils/request";
import qs from "qs";
import { Base64 } from "js-base64";
import { userRoleId_, RoleTree_ } from "./urlApi";
// 获取路由
export const getRouters = (data) => {
  return request({
    url: userRoleId_,
    method: "post",
    data: qs.stringify(data),
  });
};
export const RoleTree = () => {
  return request({
    url: RoleTree_,
    method: "post",
    data: {},
  });
};
